package com.neusoft.a132wxyorderingdish.service;

import com.neusoft.a132wxyorderingdish.beans.LoginBean;
import com.neusoft.a132wxyorderingdish.beans.RegisterBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface UserService {
    @GET("userLogin.do")
    Call<LoginBean>userLogin(@Query("username") String username, @Query("userpass") String userpass);
    @GET("userRegister.do")
    Call<RegisterBean>register(
            @Query("username") String username,
            @Query("userpass") String userpass,
            @Query("mobilenum") String mobilenum,
            @Query("address") String address,
            @Query("comment") String comment
    );
}
